package com.edushare.common.file;

import java.io.Serializable;

public interface IFileProcessStrategy extends Serializable {
	
	public static final int FILE_TYPE_IMAGE = 10;
	public static final int FILE_TYPE_DOCUMENT = 20;
	
	public static final int PROCESS_STRATEGY_PROFILE_IMAGE = 10;//ID:10 for profile images processing
	/**
	 * 
	 * Upload module decides what kind of processor to be called.
	 * Image processor or document processor
	 * @return integer file types from IFileProcessStrategy
	 * 
	 */
	public int fileType();
	
	/**
	 * Upload module decides if the file uploaded must be processed immediately, 
	 * else skips processing part
	 * @return
	 */
	public boolean processImmediately();

	public int getProcessStrategyType();
}
